package com.zilla.android.zillacore.libzilla.lifecircle;

import android.content.Intent;
import android.os.Bundle;

/**
 * 生命周期管理接口，用于管理注入控件/对象的生命周期。该注释可以用于ZillaFragment和ZillaActivity
 * 用法:@LifeCircleInject
 * 参考:LifeCicleExit
 * User: chenze
 * Date: 13-10-11
 * Time: 上午10:17
 */
public interface ILifeCircle {

    void onCreate(Bundle savedInstanceState);

    void onResume();

    void onActivityResult(int requestCode, int resultCode, Intent data);

    void onPause();

    void onDestroy();
}
